﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace quanlycd3lop.GUI
{
    public partial class frm_KhachHang : Form
    {
        quanlycd3lop.BL.cl_KhachHang clkh;
        public frm_KhachHang()
        {
            InitializeComponent();
        }

        private void frm_KhachHang_Load(object sender, EventArgs e)
        {
            clkh = new quanlycd3lop.BL.cl_KhachHang(this);
            clkh.hienthi(null);
            clkh.set_combobox1();
        }

        private void bxt_Them_Click(object sender, EventArgs e)
        {
            clkh.themmoi();
            Refresh();
        }

        private void bxt_Xoa_Click(object sender, EventArgs e)
        {
            clkh.xoa();
            Refresh();
        }

        private void bxt_Sua_Click(object sender, EventArgs e)
        {
            clkh.sua();
            Refresh();
        }

        private void bxt_Thoat_Click(object sender, EventArgs e)
        {
            this.Close();
        }

    }
}
